export default {
  template: `
  <div>
    <h2>我是标题</h2>
    <p>{{message}}</p>
    <button @click="btnClick">按钮</button>
  </div>
  `,
  data() {
    return {
      message: "I don't wanna see you anymo"
    }
  },
  methods: {
    btnClick() {
      console.log("按钮事件触发")
    }
  }
}